package com.yilin.tms.core.entity.user.grant;


import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.tms.core.commons.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 授权类 用户【组织 会员】拥有的接口/功能权限
 * */
@Entity
@Table(name = "user_grant_function_api")
@TableName("user_grant_function_api")
public class GrantFunctionApi extends BaseEntity {

    @Column(name = "member_type_id")
    private String memberTypeId;
     //用户拥有的API权限 修改 ，只保存code ,减小存储压力
    @Column(name = "api_code")
    private String apiCode;

    public String getMemberTypeId() {
        return memberTypeId;
    }

    public void setMemberTypeId(String memberTypeId) {
        this.memberTypeId = memberTypeId;
    }

    public String getApiCode() {
        return apiCode;
    }

    public void setApiCode(String apiCode) {
        this.apiCode = apiCode;
    }
}
